<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../Scripts/shortcut.js"></script>
<script  type="text/javascript">

//add the shortcut
shortcut.add("Ctrl+Shift+S",function() {
	alert("Ctrl+Shift+S alert");
});

shortcut.add("F8",function() {
	alert("F8 alert");
});

//

//Remove the shortcut
//shortcut.remove("Ctrl+Shift+S");
//shortcut.remove("F8");

</script>


<title>Untitled Document</title>
</head>

<body>
<p>本页面测试: 给 浏览器 添加 或者 删除快捷键事件，详见代码。</p>
<p>官方网址   <a href="http://www.openjs.com/scripts/events/keyboard_shortcuts/">http://www.openjs.com/scripts/events/keyboard_shortcuts/</a> </p>
</body>

</html>
